package com.zh.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zh.web.domain.auth.dto.PageUserDto;
import com.zh.web.domain.auth.dto.UserDto;
import com.zh.web.domain.auth.entity.User;
import com.zh.web.domain.auth.vo.UserVo;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    User selectOneUser(UserDto userDto);

    List<UserVo> pageUser(IPage<UserVo> iPage, PageUserDto pageUserDto);

    void permanentlyDelete();
}
